package com.ciei.dpagm.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

/**
 * @author pp
 * @date 2023/05/06
 */
@TableName(value = "common_project")
public class Project {
    @TableId(type = IdType.AUTO)
    private Integer projectId;
    private Integer mainEngineeringId;
    private String name;
    private String description;
    private String layoutContent;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;
    private Integer creatorId;
    private Integer updateUserId;
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer isDelete;

    public Project() {
    }

    public Project(Integer projectId, Integer mainEngineeringId, String name, String description, String layoutContent, Date createTime, Date updateTime, Integer creatorId, Integer updateUserId, Integer isDelete) {
        this.projectId = projectId;
        this.mainEngineeringId = mainEngineeringId;
        this.name = name;
        this.description = description;
        this.layoutContent = layoutContent;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.creatorId = creatorId;
        this.updateUserId = updateUserId;
        this.isDelete = isDelete;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getMainEngineeringId() {
        return mainEngineeringId;
    }

    public void setMainEngineeringId(Integer mainEngineeringId) {
        this.mainEngineeringId = mainEngineeringId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getLayoutContent() {
        return layoutContent;
    }

    public void setLayoutContent(String layoutContent) {
        this.layoutContent = layoutContent;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}
